package cn.itsource.order.domain;

import cn.itsource.basic.domain.BaseDomain;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class ProductOrder extends BaseDomain {
    private String digest;
    private Integer state = 0;//待支付0 待消费1 待确认2 完成3 取消-1
    private BigDecimal price;
    private String orderSn;
    private String paySn;
    private Date lastPayTime;
    private Date lastConfirmTime;
    private Long product_id;
    private Long user_id;
    private Long shop_id;  //分配

}
